package edu.lnu.ums.entities;

import edu.lnu.ums.entities.processes.ComputerAmortization;
import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Computer extends Electronic {
    @Column
    private String processor;

    @Column
    private String ram;

    @Column
    private String memory;

    @Column
    private String monitor;

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getMonitor() {
        return monitor;
    }

    public void setMonitor(String monitor) {
        this.monitor = monitor;
    }

    public String getProcessor() {
        return processor;
    }

    public void setProcessor(String processor) {
        this.processor = processor;
    }

    public String getRam() {
        return ram;
    }

    public void setRam(String ram) {
        this.ram = ram;
    }

    @Override
    public Class<?> getAmortizationClass() {
        return ComputerAmortization.class;
    }

    
}
